package entities;

import java.io.Serializable;
import java.util.Date;

import basic.BaseEntity;
import basic.FieldMeta;

public class TCatalog extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@FieldMeta(primary = true, name = "分类编号", description = "分类编号", column = "cat_no", require = true, range = true, length = 32, order = 0)
	private String catNo;

	public String getCatNo() {
		return catNo;
	}

	public void setCatNo(String catNo) {
		this.catNo = catNo;
	}

	@FieldMeta(name = "分类名称", description = "分类名称", column = "cat_name", require = true, length = 50, order = 1)
	private String catName;

	public String getCatName() {
		return catName;
	}

	public void setCatName(String catName) {
		this.catName = catName;
	}

	@FieldMeta(name = "父级编号", description = "父级编号", column = "cat_dad", require = true, length = 32, order = 2)
	private String catDad;

	public String getCatDad() {
		return catDad;
	}

	public void setCatDad(String catDad) {
		this.catDad = catDad;
	}

	@FieldMeta(name = "状态", description = "状态", column = "cat_state", require = true, length = 1, order = 3)
	private String catState;

	public String getCatState() {
		return catState;
	}

	public void setCatState(String catState) {
		this.catState = catState;
	}

	@FieldMeta(name = "创建日期", description = "创建日期", column = "cat_date", require = true, range = true, order = 4)
	private Date catDate;

	public Date getCatDate() {
		return catDate;
	}

	public void setCatDate(Date catDate) {
		this.catDate = catDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "cat_remark", length = 100, order = 5)
	private String catRemark;

	public String getCatRemark() {
		return catRemark;
	}

	public void setCatRemark(String catRemark) {
		this.catRemark = catRemark;
	}

}